﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frm_WorkPlanEdit.aspx.cs" Inherits="SaleSystem.Other.frm_WorkPlanEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
  <form id="form1" runat="server">
    <div>
        <ext:PageManager runat="server" ID="PageManager1" />
        <ext:Panel runat="server" ID="plContent" Layout="Fit" ShowBorder="false" ShowHeader="false"   BodyPadding="5px" EnableBackgroundColor="true" AutoHeight="true" Height="350px">
            <Toolbars>
                <ext:Toolbar ID="Toolbar1" runat="server">
                    <Items>
                        <ext:Button runat="server" ID="bnSave" Icon="SystemSave" Text="保存" ValidateForms="SimpleForm1" OnClick="bnSave_Click">
                        </ext:Button>
                        <ext:Button runat="server" ID="bnClose" Icon="SystemClose" Text="关闭">
                        </ext:Button>                     
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:Form runat="server" ID="SimpleForm1" AutoHeight="true" AutoScroll="true"  EnableBackgroundColor="true"  ShowBorder="true" ShowHeader="false" BodyPadding="5px">
                    <Rows>
                        <ext:FormRow>
                            <Items>
                        <ext:TextBox runat="server" ID="tb_WPlan_Title" Label="标题" Width="200px" Required="true" ShowRedStar="true" MaxLength="100"></ext:TextBox>    
                            </Items>
                        
                        </ext:FormRow>
                        <ext:FormRow>
                            <Items>
                             <ext:TextArea runat="server" ID="tb_WPlan_Content" Label="内容" Width="200px" Required="true" ShowRedStar="true" MaxLength="200"></ext:TextArea>  
                            </Items>
                        </ext:FormRow>
                        <ext:FormRow>
                            <Items>
                            <ext:DropDownList runat="server" ID="ddl_WPlan_Man" Label="经办人" Width="200px" DataValueField="SUser_Id" DataTextField="SUser_Name" TabIndex="7"></ext:DropDownList>   
                            </Items>
                        </ext:FormRow>
                        <ext:FormRow>
                            <Items>
                                <ext:DatePicker runat="server" ID="dp_WPlan_StartTime" Label="开始时间" Width="200px" ShowRedStar="true" Required="true" ></ext:DatePicker>
                            </Items>
                        </ext:FormRow>
                        <ext:FormRow>
                            <Items>
                                <ext:DatePicker runat="server" ID="dp_WPlan_EndTime" Label="结束时间" Width="200px" ShowRedStar="true" Required="true" ></ext:DatePicker>
                            </Items>
                        </ext:FormRow>
                                               <ext:FormRow>
                            <Items>
                    <ext:CheckBox runat="server" ID="cb_WPlan_State" Text="是否结束"></ext:CheckBox>
                            
                            </Items>
                        </ext:FormRow>
                        <ext:FormRow>
                            <Items>
                            <ext:CheckBox runat="server" ID="cb_WPlan_Enable"  Checked="true"  Text="是否提醒" AutoPostBack="true" OnCheckedChanged="cb_WPlan_Enable_CheckedChanged"></ext:CheckBox>
                            </Items>
                        </ext:FormRow>
                        <ext:FormRow>
                            <Items>
                             <ext:DropDownList runat="server" ID="ddl_WPlan_Number" Label="" ></ext:DropDownList>                             
                            </Items>
                        </ext:FormRow>
                        <ext:FormRow>
                            <Items>
                    <ext:DropDownList runat="server" ID="ddl_WPlan_Unit" Label="" DataTextField="UnitName" DataValueField="UnitId" ></ext:DropDownList>     
                            
                            </Items>
                        </ext:FormRow>
 
                    </Rows>
                 
                </ext:Form>
            </Items>
        </ext:Panel>
    </div>
    </form>
</body>
</html>
